﻿/*
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 作者：hzy
 * 
 * 开源地址：https://gitee.com/hao-zhi-ying/DbFrame
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 * 
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DbFrame.MySql
{
    //
    //using DbFrame.MySql.Achieve;

    public class DbContextMySql : SqlServer.DbContextSqlServer
    {

        //public DbContextMySql()
        //{
        //    DbSettings.KeywordHandle = (Keyword) => "`" + Keyword + "`";
        //    this.Ado = new AdoAchieve(this.ConnectionString);
        //}

        //public DbContextMySql(string _ConnectionString) : base(_ConnectionString)
        //{
        //    DbSettings.KeywordHandle = (Keyword) => "`" + Keyword + "`";
        //    this.Ado = new AdoAchieve(this.ConnectionString);
        //}

        //protected new string LastInsertId = "SELECT LAST_INSERT_ID()";

        ///// <summary>
        ///// 设置默认连接字符串
        ///// </summary>
        ///// <param name="_ConnectionString"></param>
        //public new static void SetDefaultConnectionString(string _ConnectionString)
        //{
        //    DbSettings.DefaultConnectionString = _ConnectionString;
        //}



    }
}
